package cn.itsource.ymcc.dto;

import cn.itsource.ymcc.domain.CourseOrderItem;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
public class OrderDto {
    private List<Long> courseIds;
    private Integer payType;        //支付方式: 1支付宝  2银联  3微信
    private Integer type;           //0代表普通订单，1代表秒杀订单
    private String token;
    private BigDecimal discountAmount;  //优惠金额
    private String orderNo;        //订单编号
    private Long loginId;           //当前登录用户id
    //订单明细条目
    private List<CourseOrderItem> courseOrderItems = new ArrayList<>();
}
